package com.yupi.mianshiya.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName paper
 */
@TableName(value ="paper")
@Data
public class Paper implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 题库id
     */
    private Long questionbankid;

    /**
     * 题干
     */
    private String content;

    /**
     * 创建用户 id
     */
    private Long userId;

    /**
     * 
     */
    private String optionA;

    /**
     * 
     */
    private String optionB;

    /**
     * 
     */
    private String optionC;

    /**
     * 
     */
    private String optionD;

    /**
     * 正确答案（如AB或C）
     */
    private String correctAnswer;

    /**
     * 解释
     */
    private String explanation;

    /**
     * 编辑时间
     */
    private Date editTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}